package com.laker.admin.module.comm.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.laker.admin.module.comm.entity.CommSpecsRelation;
import com.laker.admin.module.comm.mapper.CommSpecsRelationMapper;
import com.laker.admin.module.comm.service.ICommSpecsRelationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author laker
 * @since 2024-03-20
 */
@Service
public class CommSpecsRelationServiceImpl extends ServiceImpl<CommSpecsRelationMapper, CommSpecsRelation> implements ICommSpecsRelationService {

    @Resource
    private CommSpecsRelationMapper commSpecsRelationMapper;

    @Override
    public <E extends IPage<CommSpecsRelation>> E page(E page, Wrapper<CommSpecsRelation> queryWrapper) {
        return commSpecsRelationMapper.selectPage(page, queryWrapper);
    }
}
